package com.gxa.ssm251.proxy.cglib;

import com.gxa.ssm251.proxy.jdk.UserDao;
import org.springframework.stereotype.Repository;

@Repository("userDao2")
public class UserDaoImpl2 implements UserDao {


    @Override
    public Integer insert(String name) {
        System.out.println("UserDaoImpl2的 insert");
        return 2;
    }

    @Override
    public Integer delete(String name) {
        System.out.println("UserDaoImpl2的 delete" );
        return 2;
    }

    @Override
    public void update() {
        System.out.println("UserDaoImpl2的 update" );
    }
}
